<template>
  <div class="not-found-container">
    <div class="not-found-content">
      <div class="error-code">404</div>
      <div class="error-message">页面未找到</div>
      <div class="error-description">您访问的页面不存在或已被移除</div>
      <router-link to="/index" class="home-button">
        返回首页
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  name: "NotFound"
};
</script>

<style scoped>
.not-found-container {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  text-align: center;
  padding: 0 20px;
}

.not-found-content {
  max-width: 500px;
}

.error-code {
  font-size: 10rem;
  font-weight: bold;
  color: #5c6bc0;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-message {
  font-size: 2rem;
  color: #333;
  margin-bottom: 1rem;
}

.error-description {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.home-button {
  display: inline-block;
  background-color: #5c6bc0;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
  box-shadow: 0 3px 5px rgba(92, 107, 192, 0.3);
}

.home-button:hover {
  background-color: #3f51b5;
}

@media (max-width: 480px) {
  .error-code {
    font-size: 8rem;
  }
  
  .error-message {
    font-size: 1.5rem;
  }
  
  .error-description {
    font-size: 0.9rem;
  }
}
</style> 